package model;

import bean.UserBean;

/**
 * Moral :
 * Created by 卖火柴的小女孩 on 2018/2/12.
 */

public interface LoginModel {
    void login(String userName, String password,LoginOnListener loginOnListener);

    interface LoginOnListener{
        //数据传递过来
        void onSuccess(UserBean userBean);
        void onFail(String message);
    }
}
